.login {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: auto;
  background: #f0f2f5;

  &-panel {
    flex: 1;
    padding: 100px 20px;
  }

  &-header {
    width: 520px;
    margin: 0 auto;
    text-align: center;

    @media screen and (max-width: @screen-sm) {
      width: 95%;
    }

    h1,
    .title {
      display: inline-block;
      vertical-align: bottom;
    }

    h1 {
      width: 125px;
      height: 48px;
      width: 411px;
      height: 64px;
      font-size: 0;
      // font-size: 24px;
      background: url(../../images/logo.png) no-repeat;
    }

    .title {
      font-size: 24px;
    }
  }

  &-body {
    margin-top: 30px;
  }

  &-footer {
    margin-top: 50px;
    text-align: center;
    color: #666666;
  }
}

@media (min-width: @screen-md-min) {
  .login {
    background-image: url('../../images/bg.svg');
    background-repeat: no-repeat;
    background-position: center 110px;
    background-size: 100%;
  }
}
